<?php 
include_once('inc/init.php');
include_once('inc/functions.index.php');
// Define some variables.
//$error_msg = "";
//$next = "";
//$nextArray = explode("?next=", $_SERVER['REQUEST_URI']);
//
//if (isset($nextArray[1])) {
//	$next = $nextArray[1];
//} else {
//	$next = "index.php";
//}
//// Redirect if already in.
//if (isset($_SESSION['start'])) {
//	header("Location: $next");
//}

// Verify if the form was sent.
if (isset($_REQUEST['sent'])) {
//	session_start();
//	$_SESSION['start'] = time();
        Tools::getNotice($notice);
	header("Location: ".BASE_URL."index.php");
}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title> Notice - The Finger For</title>
<?php include_once('template/head.php');?> 
</head>

<body>
	<div id="wrap" style="margin-top: 50px;">
		<!-- body -->
		<div id="body">
			<h1>Please read the following before you continue</h1>
			<div class="body">
				<form name="notice" action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
					<p class="form_item">
						<span class="label"> What Is This Website? </span>
						<input type="hidden" name="sent" value="yes" /> 
						<span class="text">
						This is a website where you say NO to the things you don't 
						like, by reasoning why that thing is not okay. You can let people 
						see what you think about something and write their own opinions 
						about it. Together we can make a good change!
						</span>
					</p>
					<p class="form_item">
						<span class="label"> Why "The Finger"? </span>
						<span class="text">
						This is just a symbolic way to express your feelings about 
						something you don't agree with. The translation of "The Finger For" 
						will be like "I don't like that", "I don't agree with it".
						</span>
					</p>
					<p class="form_item">
						<span class="label"> Why Bother, What's The Point? </span>
						<span class="text">
						There are many things we have to accept that are not decided by us. 
						There are people that do what they want and don't care about others. 
						Here we can talk about that.. we can also keep track of the things we 
						like and the ones we don't like, the things that become worse or the things that become better.
						</span>
					</p>
					<p class="form_item">
						<span class="label"> VERY IMPORTANT, IF YOU DONT AGREE STOP USING THIS WEBSITE </span>
						<span class="text">
						1. The logo of this website can be considered offending, if you consider so, you must leave 
						this website. 2. Most of the content of this website is written by the people that use it, 
						and comes from their free ideas, The Website is not responsible for it, if you don't like 
						it stop using it. 3. By posting your opinion about something here, you are the only one responsible 
						for what you write there. 4. Have fun!
						</span>
					</p>
					<p class="form_item">
						<span class="desc">Let me in!</span>
						<input type="submit" class="orange_btn" value="I Have Read And I Agree With All The Above!" />
					</p>
				</form>
			</div>
		</div>
	</div>
	<br /><br /> <!-- keep some space with the bottom -->
</body>
</html>